 |
API Documentation
|
|
|
void eraseSlot(unsigned int index)
EntityRenderInfoSlot * getSlot(unsigned int index) const
EntityRenderInfo(EntityRenderInfo &&other)
An interface to define objects that can be exported using this component.
Definition: Exportable.h:15
Compiles the render information for an Entity to use within a RenderQueue.
Definition: EntityRenderInfo.h:36
EntityRenderInfo(const EntityRenderInfo &other)
virtual void importClassFromTree(nkExport::Node *rootNode) override
Entity * getParentEntity() const
A shader class, feeding data to a Program.
Definition: Shader.h:14
const nkMemory::BufferCast< EntityRenderInfoSlot * > & getSlots() const
An entity in a render queue. It drives the shader and possible graph position for a set of renderable...
Definition: Entity.h:15
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
EntityRenderInfo & operator=(const EntityRenderInfo &other)
Holds a Buffer and make it easy to cast the binary data.
Definition: BufferCast.h:18
A slot within the render information.
Definition: EntityRenderInfoSlot.h:14
EntityRenderInfo(Mesh *mesh, Shader *shader)
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
Holds information about a mesh. Used as a basis to render 3d models.
Definition: Mesh.h:14
virtual void exportClassToTree(nkExport::Node *rootNode) override
EntityRenderInfoSlot * addSlot(const EntityRenderInfoSlot &infoSlot=EntityRenderInfoSlot())